Search results

10 packages found

An advanced cases switcher for complex conditions

published 2.1.5 a year ago
M
Q
P

Tool that switches provided word from camelCase to underscored_case and back

published 1.2.0 7 years ago
M
Q
P

The module provides directives similar to `ngSwitch` but for multiple cases simultaneously. It is supposed to be used in highly dynamic applications based on configs.

published 1.1.0 4 months ago
M
Q
P

The rswitch library provides a compact and flexible way to implement switch-like functionality in JavaScript. It allows you to define cases and their corresponding actions using an object literal syntax.

published 0.7.0 3 months ago
M
Q
P

A small, but fully featured, library that aims to replace `switch` case logic (mainly to aid with Functional Programming), with a simple declarative API for setting up a predefined map of cases, and choosing a result from it based on input.

published 3.0.2 4 years ago
M
Q
P

A simple utility that improves JavaScript's built-in "switch" statement.

published 1.0.7 3 years ago
M
Q
P

switch between regexp cases, globs. switches are composeable with each other

published 1.0.0 8 years ago
M
Q
P

readable nested ternaries

published 1.0.1 3 years ago
M
Q
P

An adapter where you can define which function to run

published 1.0.1 3 years ago
M
Q
P

Function to provide a similar syntax to a switch statement but with regex as cases.

published 1.0.1 11 years ago
M
Q
P